package com.h2.ref.server.user.dao;

import java.util.Map;

import com.h2.ref.server.user.model.User;

public interface IUserDao {

   public User addUser(User user);

   public void update(User user);

   public void delete(User user);

   public User findByUserName(String username);
   
   public User findByUserId(Integer userId);

   public User findByEmail(String email);

   public Map<Integer, User> getUsers();
   
}
